<script type="text/html" template lay-done="layui.data.sendParams(d.params)">
  <div class="layui-form" lay-filter="form_lock">
    <div class="layui-form-item">
      <label class="layui-form-label">产品关键字</label>
      <div class="layui-input-inline">
        <input type="text" name="keyword" value="{{d.params.keyword || '' }}" autocomplete="off"
               class="layui-input" disabled>
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">价格区间</label>
      <div class="layui-inline" style="width: 100px">
        <input type="text" name="min_price" value="{{d.params.min_price || ''}}" lay-verify="required"
               autocomplete="off" placeholder="最低价格" class="layui-input" disabled>
      </div>
      <div class="layui-inline">
        ~
      </div>
      <div class="layui-inline" style="width: 100px">
        <input type="text" name="max_price" value="{{d.params.max_price || ''}}" lay-verify="required"
               autocomplete="off" placeholder="最高价格" class="layui-input" disabled>
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">锁单账户</label>
      <div class="layui-input-inline">
        <input type="text" name="locker_mobile" value="" lay-verify="required" placeholder="请输入锁单账户的手机号"
               class="layui-input">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">锁定时间</label>
      <div class="layui-input-inline">
        <input type="number" name="lock_minutes" value="" lay-verify="required" autocomplete="off" class="layui-input">
      </div>
      <div class="layui-inline layui-form-mid layui-word-aux">
        分钟
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label"></label>
      <div class="layui-input-inline layui-word-aux layui-form-mid">
        注: 每次最多锁定50个商品
      </div>
    </div>
    <div class="layui-form-item">
      <div class="layui-footer">
        <label class="layui-form-label"></label>
        <div class="layui-input-inline">
          <input type="button" id="submit_lock" lay-submit lay-filter="submit_lock" value="确认" class="layui-btn">
        </div>
      </div>
    </div>
  </div>
</script>
<script>
  layui.data.sendParams = function (obj) {
    console.log(obj)
  }
</script>
